package com.bxy.dzsc.domain;

import java.util.Date;

public class Shoppingcar {
    private Integer cid;
    private Integer gid;
    private Integer uid;
    private String gname;
    private Date adddate;
    private String price;
    private String carstate;
    private Integer gnumber;

    public Shoppingcar(Integer gid, Integer uid, String gname, Date adddate, String price, String carstate, Integer gnumber) {
        this.gid = gid;
        this.uid = uid;
        this.gname = gname;
        this.adddate = adddate;
        this.price = price;
        this.carstate = carstate;
        this.gnumber = gnumber;
    }

    public Shoppingcar(Integer cid, Integer gid, Integer uid, String gname, Date adddate, String price, String carstate, Integer gnumber) {
        this.cid = cid;
        this.gid = gid;
        this.uid = uid;
        this.gname = gname;
        this.adddate = adddate;
        this.price = price;
        this.carstate = carstate;
        this.gnumber = gnumber;
    }

    public Shoppingcar() {
    }

    @Override
    public String toString() {
        return "Shoppingcar{" +
                "cid=" + cid +
                ", gid=" + gid +
                ", uid=" + uid +
                ", gname='" + gname + '\'' +
                ", adddate=" + adddate +
                ", price='" + price + '\'' +
                ", carstate='" + carstate + '\'' +
                ", gnumber=" + gnumber +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCarstate() {
        return carstate;
    }

    public void setCarstate(String carstate) {
        this.carstate = carstate;
    }

    public Integer getGnumber() {
        return gnumber;
    }

    public void setGnumber(Integer gnumber) {
        this.gnumber = gnumber;
    }
}
